﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mForum.Domain.Repository
{
    using mForum.Core.Repository;
    using mForum.Domain.DomainObject;

    public interface IUserRepository : IRepository<User>
    {
        int CountAllUsers();
        int CountNumberOfOnlineUsers();
        User FindUserByUsername(string name);
        User FindUserByEmail(string email);
        IEnumerable<User> GetAllUsersOnline();
    }
}
